Skip to content

Fixes jax and fonts - #13

Merged
vgvassilev merged 2 commits into
masterfrom
fixes-jax-fonts
Nov 6, 2026
Merged

vgvassilev merged 2 commits into
masterfrom
fixes-jax-fonts

Conversation

@vgvassilev

Copy link
Copy Markdown
Contributor

No description provided.

The two cells that contrast Clad with a tracer print "JAX not installed"
when the import fails, which every reader of the browser site sees, since
no JAX exists on wasm32, and which reads like a broken setup rather than
the point being made.

Word the fallback as the expected case ("No JAX here, as expected in the
browser: ..."), keep the stored outputs in step, and say the same in the
prose above the first cell. The CI comparison is unaffected: it checks
the executed output against the stored one.
The empack excludes dropped DejaVu Sans Display, DejaVu Sans Mono, STIX
and the Computer Modern fonts. matplotlib's default rcParams ask for
them, so every figure in notebooks 4 and 5 logged a findfont fallback
per missing font. Only the serif family stays out; the lazy matplotlib
tarball grows from 4.4 to 5.9 MB.

The build notes also record the traffic measured on the public site.
@vgvassilev
vgvassilev merged commit 965f856 into master Nov 6, 2026
10 checks passed
@vgvassilev
vgvassilev deleted the fixes-jax-fonts branch November 6, 2026 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant